package com.codingfuture.glaciercommon.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: Sun
 * @DateTime: 2025/3/31 15:57
 * @Description:仪表类
 **/
@Data
public class Meter implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键
    private Long id;
    //仪表编号
    private String sn;
    //仪表名称
    private String name;
    //主机外键id
    private Long hostId;
    //企业名称
    private String companyName;
    //仓库名称
    private String warehouseName;
    //主机名称
    private String hostName;
    //最大湿度
    private Integer maxHum;
    //最小湿度
    private Integer minHum;
    //最大温度
    private Integer maxTem;
    //最小温度
    private Integer minTem;
    //采集间隔
    private Long collectInterval;
    //token
    private String token;
    //设备类型  push / pull
    private Integer type;
    //状态 0启用  /1 停用
    private Integer state;
    //备注信息
    private String remark;
    //创建时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;
    //主机编号
    private String hostSn;
    //主机编号
    private String warehouseSn;
    //企业id
    private Long companyId;
    //仓库id
    private Long warehouseId;


}
